package com.example.clouddemo.controller;

import com.example.clouddemo.personInter.AopLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@RestController
@RequestMapping(value = "/test")
public class restController {

    @GetMapping(value = "/test1")
    @AopLog(description = "自定义注解结合aop",operateType = "测试")
    public String test1(){
    return "111111111";}
}
